.class public Lcom/instagram/android/service/UserService;
.super Landroid/app/IntentService;
.source "UserService.java"


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 21
    const-class v0, Lcom/instagram/android/service/UserService;

    invoke-virtual {v0}, Ljava/lang/Class;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/app/IntentService;-><init>(Ljava/lang/String;)V

    .line 22
    return-void
.end method


# virtual methods
.method protected onHandleIntent(Landroid/content/Intent;)V
    .locals 2
    .parameter "intent"

    .prologue
    .line 26
    invoke-virtual {p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 27
    const-string v1, "autocomplete"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 28
    new-instance v0, Lcom/instagram/android/service/a;

    invoke-direct {v0}, Lcom/instagram/android/service/a;-><init>()V

    invoke-virtual {v0, p0}, Lcom/instagram/android/service/a;->a(Landroid/content/Context;)V

    .line 29
    invoke-static {}, Lcom/instagram/android/directshare/h/a;->a()Lcom/instagram/android/directshare/h/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/directshare/h/a;->d()V

    .line 30
    const-string v0, "DirectShareRecipientsStore.BROADCAST_TARGET_RECIPIENTS_CHANGED"

    invoke-static {v0}, Lcom/instagram/n/d;->a(Ljava/lang/String;)Z

    .line 39
    :goto_0
    return-void

    .line 32
    :cond_0
    const-string v1, "suggestions"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 33
    new-instance v0, Lcom/instagram/android/service/q;

    invoke-direct {v0}, Lcom/instagram/android/service/q;-><init>()V

    invoke-virtual {v0, p0}, Lcom/instagram/android/service/q;->a(Landroid/content/Context;)V

    .line 34
    const-string v0, "DirectShareRecipientsStore.BROADCAST_TARGET_RECIPIENTS_CHANGED"

    invoke-static {v0}, Lcom/instagram/n/d;->a(Ljava/lang/String;)Z

    goto :goto_0

    .line 37
    :cond_1
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "Intent is not supported by this UserService"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method
